home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS01.ADF / Text / Filenames < prev    next >
Internet Message Format  |  1985-12-04  |  2KB

  1. Path: puff!uwvax!harvard!seismo!caip!RMULLER%UMASS.BITNET
  2. From: RMULLER%UMASS.BITNET@WISCVM.ARPA
  3. Subject: AmigaDos Filename Wildcarding
  4. Date: 27 Oct 85 17:34:08 GMT
  5. Organization: Rutgers Univ., New Brunswick, N.J.
  6.  
  7. From: RMULLER%UMASS.BITNET@WISCVM.ARPA
  8.  
  9. As my contribution to figuring out those enigmatic commands in
  10. SYS:C, here's the way the LIST command handles "wildcards" in
  11. filenames.
  12.  
  13. If you want to see all the files with names ending in .c you
  14. type LIST PAT #?.c
  15. or   LIST P   #?.c
  16.  
  17. All the files with names beginning with A:      LIST P A#?
  18.  
  19. All the files with four-letter names:           LIST P ????
  20.  
  21. <?> is the wild-card character, and <#?> means any number of <?>s
  22. Comparisons ignore upper/lower case distinctions.
  23.  
  24. This should work on any command which lists ...P=PAT/K...
  25. when you type the command name followed by a <?>: e.g. LIST ?
  26.  
  27. This and some other options which seem less useful than this are
  28. described quickly in
  29.  
  30.         "TRIPOS -- A Portable Operating System for Mini-computers"
  31.          Martin Richards, Aylward, Bond, Evans and Knight
  32.          _Software Practice and Experience_ Vol 9 pp 513-526 (1979)
  33.  
  34. (TRIPOS is the OS on which AmigaDos is based)
  35.  
  36. There is a longer treatment of this topic in
  37.  
  38.         "A Compact Function for Regular Expression Pattern Matching"
  39.          Martin Richards
  40.          _Software Practice and Experience_ Vol 9 pp 527-534 (1979)
  41.  
  42. Isn't it a pain to have to go get microfilmed articles to figure out
  43. how to use a computer you just bought?
  44.  
  45. To the Commodore-Amiga people:  when WILL this stuff be available?
  46. Surely the Users Manual for the OS doesn't need to be restricted to
  47. developers?
  48.  
  49.         Richard Muller
  50.         Computer Studies Program
  51.         Hampshire College
  52.         Amherst MA 01002
  53.  
  54.  
  55.         (413) 549-4600 ext 585
  56.         CSNET:  muller@umass-ece
  57.         BitNet: rmuller@umass
  58.  
  59.